

package examples.minimal;

import commandz.cli.*;


/**
 *  Demonstration of a minimalistic application of the commandz-package.
 *
 *  This example creates an interpreter and a command.
 *  The command is then executed via interpretation.
 */
public final class Example
{

    /**
     *  Program entry point.
     */
    public static void main(String argv[])
    {
        Interpreter interpreter = new Interpreter();
        interpreter.recognize(new HelloCommand());
        interpreter.interpret("hello");
    }

}
